def box_as_wkt(ext):
    """
    Given a tuple "west, south, east, north" box, return appropriate WKT poly.

    >>> ext = [0.2,51.2,0.3,51.4]
    >>> extents_as_wkt(ext)
    'POLYGON((0.2 51.2,0.2 51.4,0.3 51.2,0.3 51.4,0.2 51.2))'
    """
    # why not asWKT in OSR? why did we do this? Where is the SRID? etc.
    wkt = "POLYGON((%s %s,%s %s,%s %s,%s %s,%s %s))" % (ext[0],ext[1],ext[0],ext[3],ext[2],ext[3],ext[2],ext[1],ext[0],ext[1])
    return wkt

def poly_as_wkt(ext):
    """
    Given a tuple list of points, return appropriate WKT poly.
    """
    pass
